﻿using System;
using System.Reflection;
using System.Web.UI;
using Microsoft.SharePoint;

namespace TaskWebApplicationUI
{
    public partial class WebTasksMasterSPPS : MasterPage
    {
        public string Version
        {
            get { return Assembly.GetExecutingAssembly().GetName().Version.ToString(); }
        }

        protected void Page_PreInit(object sender, EventArgs e)
        {
            SPWeb web = SPContext.Current.Web;
            Page.MasterPageFile = web.MasterUrl;
        }
    }
}